#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include "mainwindow.h"
#include "savespisok.h"
namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit Dialog(QWidget *parent);
    ~Dialog();
private:
    MainWindow* p;
    Savespisok* thr;
    Ui::Dialog *ui;
    QTimer* tmr;
private slots:
    void closewindows();
    void bars();
    void on_Dialog_finished(int result);
};

#endif // DIALOG_H
